package com.hjr.calculator.algorithm;


import com.hjr.calculator.CalcStrategy;

import java.math.BigDecimal;

public class AddAlgorithm implements CalcStrategy {

    @Override
    public BigDecimal calc(BigDecimal num1, BigDecimal num2) {
        return num1.add(num2);
    }
}
